package d_stream.traditionalmethod;

public class Person {
    String name;

    public Person(String name) {
        this.name = name;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return  "name="+name ;

    }
}
